<template>
    <h1>你要找的页面消失咯！</h1><br>
    <el-button @click="backHome">返回首页</el-button>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const backHome = () => {
    router.replace({ path: '/' })
}
</script>

<style scoped lang="scss">
h1{
    color:#333;
}
</style>
  